﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Drawing;
using System.Windows.Forms;
using Styx;
using Styx.Combat.CombatRoutine;
using Styx.Helpers;
using Styx.Logic;
using Styx.Logic.Combat;
using Styx.Logic.Pathing;
using Styx.WoWInternals;
using Styx.WoWInternals.WoWObjects;
using Styx.Logic.POI;

namespace HarmoniousVigor
{
    public partial class Priest
    {
        public bool disciplineCombat()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (disciplinePVPCombat())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (disciplineDungeonCombat())
                    return true;
            }
            else
            {
                if (disciplineQuestingCombat())
                    return true;
            }

            return false;
        }
        public bool disciplineHeal()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (disciplinePVPHeal())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (disciplineDungeonHeal())
                    return true;
            }
            else
            {
                if (disciplineQuestingHeal())
                    return true;
            }

            return false;
        }
        public bool disciplineBuff()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (disciplinePVPBuff())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (disciplineDungeonBuff())
                    return true;
            }
            else
            {
                if (disciplineQuestingBuff())
                    return true;
            }

            return false;
        }
        public bool disciplinePullSpell()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (disciplinePVPPullSpell())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (disciplineDungeonPullSpell())
                    return true;
            }
            else
            {
                if (disciplineQuestingPullSpell())
                    return true;
            }

            return false;
        }
    }
}
